package com.oracle.containers.set;

import java.util.HashSet;

/**
 * @author zhouyanxiang
 * @create 2020-08-2020/8/17-18:10
 */
public class HashSetReview {

    public static void main(String[] args) {
        HashSet<String> hashSet = new HashSet<>();
        
        hashSet.add("Tom");
        hashSet.add("Mike");
        hashSet.add("Jerry");
        hashSet.add("Bruce");

        for (Object obj: hashSet){
            System.out.println(obj);
        }
    }
    
}
